/**
 * Created by lingo on 2017/9/28.
 */
'use strict';
/**
 * model
 */
export default class extends think.model.base {
    schema = {
        createTime: {
            default: ()=> {
                return  Date.now() //think.datetime()
            },
            readonly: true
        },
        updateTime: {
            default:()=> {
                return Date.now() //think.datetime()
            },
            update: true
        }
    }
}
